class AddCategoryIdToProduct < ActiveRecord::Migration
  def change
   add_reference :products, :category_id, index: true
  end
end
